﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http.Filters;
using System.Net.Http;
using System.Web.Http;

namespace WebApp
{
    /// <summary>
    /// we register the global error filter here,this way can obtain all exceptions except HttpResponseException
    /// </summary>
    public class WebApiFilterConfig
    {
        public static void RegisterGlobalFilters(HttpConfiguration config)
        {
            //config.Filters.Add(new ExceptionFilterAttribute());
        }
    }
}